package selevert;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {

        while (true) {
            System.out.println("请输入所对应的功能(1、查询全部 2、查询单人 3、修改数据 4、添加数据 5、删除数据 6、退出):");
            Scanner scanner = new Scanner(System.in);
            int num = scanner.nextInt();
            switch (num) {
                case 1:
                    new AllFeatures().select();
                    break;
                case 2:
                    new AllFeatures().select2(3);
                    break;
                case 3:
                    new AllFeatures().updata2("ad0","女", String.valueOf(3));
                    break;
                case 4:
                    new AllFeatures().add();
                    break;
                case 5:
//                    new AllFeatures().delete();
                    break;

            }
            if (num == 6) {
                break;
            }
        }
    }
}
